package com.jiyun.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Transient;
import java.util.Date;

/**
 * @projectName: day06_gengjiajun_p11
 * @package: com.jiyun.common.model
 * @className: Paper
 * @author: 耿嘉军
 * @date: 2023/8/8 16:09
 * @version: 1.0
 */
@Data
@ToString
public class Paper {

    /**
     * 试卷管理
     */
    @TableId(value = "pid",type = IdType.AUTO)
    private Integer pid;
    private String pname;
    private String types;
    private String state;
    private String paix;
    private String photo;
    @Transient
    @TableField(exist = false)
    private String tagIds;
    @Transient
    @TableField(exist = false)
    private String gameId;
    @Transient
    @TableField(exist = false)
    private Integer countPlay;
    @Transient
    @TableField(exist = false)
    private Integer countQuestion;

    @Transient
    @TableField(exist = false)
    private Date cedate;

}
